﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System

Namespace roncliProductions.LibWowArmory.Item.Info

    ''' <summary>
    ''' A class that encapsulates an object
    ''' </summary>
    ''' <remarks></remarks>
    Public Class ContainerObject

        ''' <summary>
        ''' The area the object is in
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Area As String

        ''' <summary>
        ''' The Armory URL of the area the object is in
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property AreaURL As String

        ''' <summary>
        ''' The drop rate of the item from the object
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property DropRate As Enums.DropRateType

        ''' <summary>
        ''' Whether or not the item is from the object on heroic mode
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Heroic As Boolean

        ''' <summary>
        ''' The ID of the object
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ObjectID As Integer

        ''' <summary>
        ''' The name of the object
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The Armory URL to the object
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property URL As String

        ''' <summary>
        ''' A constructor to create the object
        ''' </summary>
        ''' <param name="strArea"></param>
        ''' <param name="strAreaURL"></param>
        ''' <param name="drDropRate"></param>
        ''' <param name="blnHeroic"></param>
        ''' <param name="intID"></param>
        ''' <param name="strName"></param>
        ''' <param name="strURL"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal strArea As String, ByVal strAreaURL As String, ByVal drDropRate As Enums.DropRateType, ByVal blnHeroic As Boolean, ByVal intID As Integer, ByVal strName As String, ByVal strURL As String)
            Area = strArea
            AreaURL = strAreaURL
            DropRate = drDropRate
            Heroic = blnHeroic
            ObjectID = intID
            Name = strName
            URL = strURL
        End Sub

    End Class

End Namespace